home *** CD-ROM | disk | FTP | other *** search
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
- MIME-Version: 1.0
- Subject: Re: Help with transparent objects
- References: <4l13tn$u@ns.ccsn.edu>
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- Path: imada.ou.dk!breese
- From: breese@imada.ou.dk (Bjorn Reese)
- Message-ID: <1996Apr19.104649.4477@imada.ou.dk>
- Sender: news@imada.ou.dk
- Nntp-Posting-Host: gounod.imada.ou.dk
- Organization: Dept. of Math. & Computer Science, Odense University, Denmark
- Date: Fri, 19 Apr 1996 10:46:49 GMT
- Newsgroups: comp.sys.amiga.programmer
-
- shane baker wrote:
- >
- > work) Using Images hasn't worked for me, and neither has BltBitMap. Is
-
- Use graphics.library/BltMaskBitMapRastPort instead.
-
- BltMaskBitMapRastPort(
- fromRastPort->BitMap, from_xpos, from_ypos,
- toRastPort, to_xpos, to_ypos,
- xsize, ysize, 0xE2, shape);
-
- "shape" is a pointer to a memory area where the mask/shape of the
- object is, ie. should contain a zero bit for each transparent pixel
- and a one bit otherwise. You can get this shape by OR'ing the bitplanes.
-
- --
- Bjorn Reese Email: breese@imada.ou.dk
- Odense University, Denmark URL: http://www.imada.ou.dk/~breese
-
- "It's getting late in the game to show any pride or shame" - Marillion
-